Fix bug with an attempt to select uninitialized frame (Bug#18161).
authorDmitry Antipov <dmantipov@yandex.ru>
Sun, 3 Aug 2014 07:19:43 +0000 (11:19 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Sun, 3 Aug 2014 07:19:43 +0000 (11:19 +0400)
commitd17faf36b0949f23d948d1c8c340fc60a5c635f6
treec80c2b72455fdb335d28c98d9a42181ee5d662d4
parentcd48491ff914d298e4bacc5703b66bc0913941a5
Fix bug with an attempt to select uninitialized frame (Bug#18161).
* xfns.c (Fx_create_frame): Move call to change_frame_size to
a section where Lisp evaluation is disabled.  This way a pointer
to uninitialized frame is not accessible from Lisp, which becomes
critical if following call to x_figure_window_size throws an error.
src/ChangeLog
src/xfns.c